<@page.html title="商品信息查询">
  <div class="search">
    <form id="fm_query" action="_list">
      <dl>
        <dt>商品编码</dt>
        <dd><input type="text" name="productCode" value=""></dd>
        <dt>商品名称</dt>
        <dd><input type="text" name="productName" value=""></dd>
        <dt>助记符</dt>
        <dd><input type="text" name="spell" value=""></dd>
      </dl>
      <dl>
        <dt>商品类别</dt>
        <dd><select name="productType" style="width:100px;"><option value="">全部</option><#if productTypeLst??><#list productTypeLst as t><option value="${t.id}">${t.id} - ${t.name}</option></#list></#if></select></dd>
        <dt>卖品/非卖品</dt>
        <dd><select name="saleFlg" style="width:100px;"><option value=""></option><#if saleFlgLst??><#list saleFlgLst as t><option value="${t.id}">${t.name}</option></#list></#if></select></dd>
        <dt>有效/无效品</dt>
        <dd><select name="status" style="width:100px;"><option value=""></option><option value="1">有效</option><option value="0">无效</option></select></dd>
        <dd class="button"><input type="button" value="查询" onclick="query();"></dd>
        <#if canExpt??><dd class="button"><input type="button" value="导出" onclick="expt();"></dd></#if>
        <dd class="oper"><#if canAdd??><a class="add" href="javascript:open('add');">新增</a></#if></dd>
      </dl>
    </form>
  </div>
  <div id="div_list"></div>
<script type="text/javascript">query();</script>
</@page.html>